package com.example.service;

import com.example.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Service
public interface StudentService {


    public List<Student> getPage(@Param("begin") int currentPage, @Param("size")int pageSize);

    public int getTotalCount();

    public Boolean add(Student student);

    public Boolean deleteById(Integer id);

    public Boolean update(Student student);


    public Student getOne(int id);
}
